package com.ev.custom.dao;

import com.ev.custom.domain.DeviceCapacityDO;
import com.ev.custom.vo.DeviceCapacityPageParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 文件名称： com.ev.custom.dao.DeviceCapacityDao.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-06-16 14:11:27</br>
 * 功能说明： 设备-设备产能 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
@Mapper
public interface DeviceCapacityDao {

	DeviceCapacityDO get(Long id);
	
	List<DeviceCapacityDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(DeviceCapacityDO deviceCapacity);
	
	int update(DeviceCapacityDO deviceCapacity);

	int updateAll(DeviceCapacityDO deviceCapacity);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int batchUpdate(List<DeviceCapacityDO> param);

	int batchSave(List<DeviceCapacityDO> param);

	List<Map<String, Object>> pageList(DeviceCapacityPageParam pageParam);

	int pageCount(DeviceCapacityPageParam pageParam);

	Map<String, Object> getById(Long id);

	List<DeviceCapacityDO> getByDeviceId(DeviceCapacityDO saveParam);
}
